﻿using System;
using System.Collections.Generic;
using System.Text;
using Sinacor.Infra.Common.Exceptions;
using Sinacor.Infra.Service.ExceptionHandling;
using System.Collections;
using Sinacor.Servico.Bovespa.Ordens;
using Sinacor.Infra.Service.Common;


namespace Sinacor.Servico.Bovespa.Ordens.BusinessLogic
{
    public class MercadoCarteira : BaseBusinessLogic
    {
        /// <summary>
        /// Descricao : Logica de Consulta ConsultarMercadoriaCarteira 
        /// Autor : Marcelo Barucci
        /// Data : 29/07/2008
        /// </summary>

        public List<BusinessEntity.MercadoCarteira> ConsultarMercadoCarteira(BusinessEntity.Parameter.ConsultarMercadoCarteira pConsultarMercadoria)
        {
            if (pConsultarMercadoria.CodigoBolsa == null ||
                pConsultarMercadoria.CodigoCarteira == null ||
                pConsultarMercadoria.CodigoMercado == null ||
                pConsultarMercadoria.NaturezaOperacao == null)
                    throw new BusinessException(0);

            return null;
            
            }
    }
}
